bitkeeper revision 1.1159.169.1 (418e9fbcYPjvgCp5hHW29dMCpCsuDA)
authorkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Sun, 7 Nov 2004 22:20:44 +0000 (22:20 +0000)
committerkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Sun, 7 Nov 2004 22:20:44 +0000 (22:20 +0000)
Disable Xen VGA output later in the boot, so we get more start-of-day
messages. Most importantly, users get a visual cue on VGA console when
whole of main memory is scrubbed immediately before starting dom0.

xen/arch/x86/domain.c
xen/common/kernel.c

index 84ce4afce9ae3624b069403171a5acd2af5b19b3..baa52acb703a846f274e41a28dd6981d94d3a9da 100644 (file)
@@ -895,9 +895,6 @@ int construct_dom0(struct domain *p,
             l2start[i] = mk_l2_pgentry(0);
     zap_low_mappings(); /* Do the same for the idle page tables. */
     
-    /* Give up the VGA console if DOM0 is configured to grab it. */
-    console_endboot(cmdline && strstr(cmdline, "tty0"));
-
     /* DOM0 gets access to everything. */
     physdev_init_dom0(p);
 
index 29e24888754d0a22881b1887bbacb0b0ce6e68b6..c7e6b27a4ec334f7c81ba4e819fd8e445c4448fd 100644 (file)
@@ -349,6 +349,9 @@ void cmain(multiboot_info_t *mbi)
 
     init_trace_bufs();
 
+    /* Give up the VGA console if DOM0 is configured to grab it. */
+    console_endboot(cmdline && strstr(cmdline, "tty0"));
+
     domain_unpause_by_systemcontroller(current);
     domain_unpause_by_systemcontroller(dom0);
     startup_cpu_idle_loop();